<?php  # Script -- getprotobyname.php

/* Author @ Huoty
 *   Date @ 2015-11-17 09:42:44
 *  Brief @ 
 */

$protocol = 'udp';
$get_prot = getprotobyname($protocol);
if ($get_prot == FALSE) {
    echo "Invalid Protocl";
} else {
    echo "Protocl $" . "$get_prot";
}

?>
